#ifndef _PLUGIN_H
#define _PLUGIN_H

#define SP(llist) ((sPlugin *)((llist)->data))

char *getPPath(char *name);

sPlugin *	getPluginByExt	(char *fn);
int			initPlugin		(sPlugin *plug);
int			runPlugin		(sPlugin *plug, int argc, char *argv[]);
void		deinitPlugin	(sPlugin *plug);

#endif
